const express = require("express")
const router = express.Router()
const userController = require("../controllers/userController")

// 登录
router.post("/login", userController.login)

// 注册
router.post("/register", userController.register)

// 测试
router.get("/total", userController.total)

module.exports = router
